package com.txsj.scan.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by wwb on 2019/5/24
 */
public class AllocationDetailsBean implements Serializable {

    /**
     * success : true
     * type :
     * data : {"bill_id":20110174,"brand_id":496240,"out_warehouse_id":100144,"into_warehouse_id":100145,"sponsor_user_id":255385,"add_time":"2018-12-04 17:01:30","check_user_id":255385,"check_status":6,"check_time":"2018-12-04 17:01:30","out_warehouse_name":"[总仓]","into_warehouse_name":"[商城仓]都来创业总部基地店 - 1号仓","sponsor_user_name":"","check_user_name":"","bill_number":"DBA20110174","bill_time":"2018-12-04 00:00:00","bill_remark":"\u2018","into_status":0,"goods_count":2,"total_price":0,"details":[{"bill_id":20110174,"goods_num":"6906907102028","gs1_num":6000006906907102028,"goods_img":"http://img.txooo.com/2018/08/10/c8c7a9cde4a0094e208d36c7b48a3923.jpg","goods_name":"七喜柠檬味汽水  330ml","goods_count":2,"unit_price":0,"batch_id":10188880,"expiry_time":"9999-12-31 00:00:00"}],"allocation_goods":null}
     * ts : 1544499022740
     */


    /**
     * bill_id : 20110174
     * brand_id : 496240
     * out_warehouse_id : 100144
     * into_warehouse_id : 100145
     * sponsor_user_id : 255385
     * add_time : 2018-12-04 17:01:30
     * check_user_id : 255385
     * check_status : 6
     * check_time : 2018-12-04 17:01:30
     * out_warehouse_name : [总仓]
     * into_warehouse_name : [商城仓]都来创业总部基地店 - 1号仓
     * sponsor_user_name :
     * check_user_name :
     * bill_number : DBA20110174
     * bill_time : 2018-12-04 00:00:00
     * bill_remark : ‘
     * into_status : 0
     * goods_count : 2
     * total_price : 0.0
     * details : [{"bill_id":20110174,"goods_num":"6906907102028","gs1_num":6000006906907102028,"goods_img":"http://img.txooo.com/2018/08/10/c8c7a9cde4a0094e208d36c7b48a3923.jpg","goods_name":"七喜柠檬味汽水  330ml","goods_count":2,"unit_price":0,"batch_id":10188880,"expiry_time":"9999-12-31 00:00:00"}]
     * allocation_goods : null
     */

    private int bill_id;
    private int brand_id;
    private int out_warehouse_id;
    private int into_warehouse_id;
    private int sponsor_user_id;
    private String add_time;
    private int check_user_id;
    private int check_status;
    private String check_time;
    private String out_warehouse_name;
    private String into_warehouse_name;
    private String sponsor_user_name;
    private String check_user_name;
    private String bill_number;
    private String bill_time;
    private String bill_remark;
    private int into_status;
    private int goods_count;
    private double total_price;
    private Object allocation_goods;
    private List<DetailsBean> details;

    public int getBill_id() {
        return bill_id;
    }

    public void setBill_id(int bill_id) {
        this.bill_id = bill_id;
    }

    public int getBrand_id() {
        return brand_id;
    }

    public void setBrand_id(int brand_id) {
        this.brand_id = brand_id;
    }

    public int getOut_warehouse_id() {
        return out_warehouse_id;
    }

    public void setOut_warehouse_id(int out_warehouse_id) {
        this.out_warehouse_id = out_warehouse_id;
    }

    public int getInto_warehouse_id() {
        return into_warehouse_id;
    }

    public void setInto_warehouse_id(int into_warehouse_id) {
        this.into_warehouse_id = into_warehouse_id;
    }

    public int getSponsor_user_id() {
        return sponsor_user_id;
    }

    public void setSponsor_user_id(int sponsor_user_id) {
        this.sponsor_user_id = sponsor_user_id;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public int getCheck_user_id() {
        return check_user_id;
    }

    public void setCheck_user_id(int check_user_id) {
        this.check_user_id = check_user_id;
    }

    public int getCheck_status() {
        return check_status;
    }

    public void setCheck_status(int check_status) {
        this.check_status = check_status;
    }

    public String getCheck_time() {
        return check_time;
    }

    public void setCheck_time(String check_time) {
        this.check_time = check_time;
    }

    public String getOut_warehouse_name() {
        return out_warehouse_name;
    }

    public void setOut_warehouse_name(String out_warehouse_name) {
        this.out_warehouse_name = out_warehouse_name;
    }

    public String getInto_warehouse_name() {
        return into_warehouse_name;
    }

    public void setInto_warehouse_name(String into_warehouse_name) {
        this.into_warehouse_name = into_warehouse_name;
    }

    public String getSponsor_user_name() {
        return sponsor_user_name;
    }

    public void setSponsor_user_name(String sponsor_user_name) {
        this.sponsor_user_name = sponsor_user_name;
    }

    public String getCheck_user_name() {
        return check_user_name;
    }

    public void setCheck_user_name(String check_user_name) {
        this.check_user_name = check_user_name;
    }

    public String getBill_number() {
        return bill_number;
    }

    public void setBill_number(String bill_number) {
        this.bill_number = bill_number;
    }

    public String getBill_time() {
        return bill_time;
    }

    public void setBill_time(String bill_time) {
        this.bill_time = bill_time;
    }

    public String getBill_remark() {
        return bill_remark;
    }

    public void setBill_remark(String bill_remark) {
        this.bill_remark = bill_remark;
    }

    public int getInto_status() {
        return into_status;
    }

    public void setInto_status(int into_status) {
        this.into_status = into_status;
    }

    public int getGoods_count() {
        return goods_count;
    }

    public void setGoods_count(int goods_count) {
        this.goods_count = goods_count;
    }

    public double getTotal_price() {
        return total_price;
    }

    public void setTotal_price(double total_price) {
        this.total_price = total_price;
    }

    public Object getAllocation_goods() {
        return allocation_goods;
    }

    public void setAllocation_goods(Object allocation_goods) {
        this.allocation_goods = allocation_goods;
    }

    public List<DetailsBean> getDetails() {
        return details;
    }

    public void setDetails(List<DetailsBean> details) {
        this.details = details;
    }

    public static class DetailsBean implements Serializable {
        /**
         * bill_id : 20110174
         * goods_num : 6906907102028
         * gs1_num : 6000006906907102028
         * goods_img : http://img.txooo.com/2018/08/10/c8c7a9cde4a0094e208d36c7b48a3923.jpg
         * goods_name : 七喜柠檬味汽水  330ml
         * goods_count : 2
         * unit_price : 0.0
         * batch_id : 10188880
         * expiry_time : 9999-12-31 00:00:00
         */

        private int bill_id;
        private String goods_num;
        private long gs1_num;
        private String goods_img;
        private String goods_name;
        private int goods_count;
        private double unit_price;
        private int batch_id;
        private String expiry_time;

        public int getBill_id() {
            return bill_id;
        }

        public void setBill_id(int bill_id) {
            this.bill_id = bill_id;
        }

        public String getGoods_num() {
            return goods_num;
        }

        public void setGoods_num(String goods_num) {
            this.goods_num = goods_num;
        }

        public long getGs1_num() {
            return gs1_num;
        }

        public void setGs1_num(long gs1_num) {
            this.gs1_num = gs1_num;
        }

        public String getGoods_img() {
            return goods_img;
        }

        public void setGoods_img(String goods_img) {
            this.goods_img = goods_img;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public int getGoods_count() {
            return goods_count;
        }

        public void setGoods_count(int goods_count) {
            this.goods_count = goods_count;
        }

        public double getUnit_price() {
            return unit_price;
        }

        public void setUnit_price(double unit_price) {
            this.unit_price = unit_price;
        }

        public int getBatch_id() {
            return batch_id;
        }

        public void setBatch_id(int batch_id) {
            this.batch_id = batch_id;
        }

        public String getExpiry_time() {
            return expiry_time;
        }

        public void setExpiry_time(String expiry_time) {
            this.expiry_time = expiry_time;
        }
    }
}
